<template>
	<swiper :indicator-dots="false" :autoplay="true" :interval="3000" :duration="1000">
		<swiper-item v-for='(item,index) in dataList' :key='index'>
			<view class="swiper-item">
				<image class='swiper-img' :src="item.pic_path" mode="aspectFill"></image>
			</view>
		</swiper-item>
	</swiper>
	
</template>

<script>
	export default{
		props:{
			dataList:Array
		}
	}
</script>

<style lang="scss" scoped>
	swiper {
		height: 540rpx !important;
	}
 .swiper-item {
   width: 100%;
   height: 440rpx;
   image {
	width: 100%;
	height: 100%;
	object-fit: cover;
   }
 }
</style>